package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(
        name = "Storey",
        title = "楼层表",
        description = ""
)
@TableName(value = "dorm_storey")
public class Storey {

    @Schema(title = "楼层id", description = "")
    @TableId(value = "dorm_storey_id")
    private Long id;

    @Schema(title = "楼栋id", description = "")
    @TableField(value = "apartment_id")
    private Long apartmentId;

    @Schema(title = "平面图id", description = "")
    @TableField(value = "plane_id")
    private Long planeId;

    @Schema(title = "楼层介绍", description = "")
    @TableField(value = "storey_intro")
    private String intro;

    @Schema(title = "楼层序列", description = "")
    @TableField(value = "storey_index")
    private String index;
}
